package www.com.springboot_20200312.rabbitmqDemo.HeadersExchange.message;

import java.io.Serializable;

/**
 * @program: springboot_20200312
 * @ClassName Demo01Message
 * @description:
 * @author: jht
 * @create: 2021-12-07 10:17
 * @Version 1.0
 **/
public class DemoHeadersMessage implements Serializable {
    public static final String QUEUE = "QUEUE_DEMO_04_A";

    public static final String EXCHANGE = "EXCHANGE_DEMO_04";

    public static final String HEADER_KEY = "color";
    public static final String HEADER_VALUE = "red";

    /**
     * 编号
     */
    private Integer id;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Demo01Message{" +
                "id=" + id +
                '}';
    }
}
